package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充电站对象 tb_chargingpilesstation
 * 
 * @author ruoyi
 * @date 2024-08-12
 */
public class TbChargingpilesstation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long sid;

    /** 充电站名 */
    @Excel(name = "充电站名")
    private String sname;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 数量 */
    @Excel(name = "数量")
    private int number;

    /** 正在使用的数量 */
    @Excel(name = "正在使用的数量")
    private int use;



    private double deprice;

    private double inprice;

    public double getDeprice() {
        return deprice;
    }

    public void setDeprice(double deprice) {
        this.deprice = deprice;
    }

    public double getInprice() {
        return inprice;
    }

    public void setInprice(double inprice) {
        this.inprice = inprice;
    }

    public void setSname(String sname)
    {
        this.sname = sname;
    }

    public String getSname()
    {
        return sname;
    }
    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setNumber(int number)
    {
        this.number = number;
    }

    public int getNumber()
    {
        return number;
    }
    public void setUse(int use)
    {
        this.use = use;
    }

    public int getUse()
    {
        return use;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("address", getAddress())
            .append("number", getNumber())
            .append("use", getUse())

            .toString();
    }
}
